package com.spring.sd.ignore;

import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MainConfig {

    @Bean(autowire = Autowire.BY_TYPE, initMethod = "initMe", destroyMethod = "destroyMe")
    public A a() {
        return new A();
    }

    //@Bean
    //public B b1() {
    //    return new B();
    //}
}
